provider Events GET
/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/events/ @utdk/sentry
/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/events/ List a Project's Error Events
Return a list of events bound to a project.
- organization_id_or_slug path required
- The ID or slug of the organization the resource belongs to.
- string
- project_id_or_slug path required
- The ID or slug of the project the resource belongs to.
- string
- statsPeriod query
- The period of time for the query, will override the start & end parameters, a number followed by one of: - `d` for days - `h` for hours - `m` for minutes - `s` for seconds - `w` for weeks For example, `24h`, to mean query data starting from 24 hours ago to now.
- string
- start query
- The start of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.
- string
- end query
- The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.
- string
- cursor query
- A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
- string
- full query
- Specify true to include the full event body, including the stacktrace, in the event payload.
- boolean
- sample query
- Return events in pseudo-random order. This is deterministic so an identical query will always return the same events in the same order.
- boolean
Try it
Authentication
Configure credentials for API Reference
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import sentry from '@utdk/sentry';
await sentry.listAProjectSErrorEvents({
"full": false,
"sample": false
})